package dome3;

/*

    组合--->是一种设计思想

 */

class Students {

}

class Teachers {

}

class School {

    public Students[] students = new Students[3];
    public Teachers[] teachers = new Teachers[3];
}

public class Test {

    public static void main(String[] args) {
        School school = new School(); // 看栈和堆的内存布局
    }
}



